<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>文件上传</title>
    <!--<script>-->
    <!--window.onload = function () {-->
    <!--alert('static');-->
    <!--}-->
    <!--</script>-->
</head>
<body>
<form enctype="multipart/form-data" method="post" action="/file/upload">
    文件:<input type="file" name="file"/>
    姓名:<input type="text" name="name"/>
    <input type="submit" value="上传"/>
</form>
</body>
</html>